package com.yunxi.order.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@Data
@ApiModel(value="渠道商信息", description="渠道商信息")
public class OrderApprovePartnerDetailsRespVO implements Serializable{

        @ApiModelProperty(value = "渠道代码")
        private String partnerCode;
        @ApiModelProperty(value = "渠道商名称")
        private String partnerName;
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @JsonDeserialize(using=DateJsonDeserializer.class)
        @ApiModelProperty(value = "操作时间")
        private Date createDate;
        @ApiModelProperty(value = "操作人")
        private String createBy;
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @JsonDeserialize(using=DateJsonDeserializer.class)
        @ApiModelProperty("审批时间")
        private Date checkDate;

}
